<template>
  <div class="title-box">
    <div class="nav-bar-box">
      <van-nav-bar :title="$route.meta.title" fixed 
      :left-text="$route.path != '/Home1'?'返回':''" 
      :left-arrow="$route.path != '/Home1'?true:false" @click-left="$router.go(-1)" />
    </div>
  </div>
</template>

<script>
export default {
  name:"TitleItem"
};
</script>


<style lang="scss" scoped>
.title-box {
  padding-bottom: 46px;
}
.nav-bar-box {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
}
</style>
